Method of defining a guideline for trimming an optical lens

ABSTRACT

Disclosed is a method of determining a guideline for trimming an optical lens to be trimmed in view of its mounting in a spectacle frame in which is mounted at least one reference optical lens, including: removing the reference optical lens; fixing the removed reference optical lens on a support of a machine for acquiring images; acquiring, with an image sensor, at least one first image of the removed reference optical lens; processing each acquired first image in order to deduce therefrom trimming parameters for the optical lens to be trimmed; and defining the trimming guideline as a function of the trimming parameters. Before or after the first acquiring step, a second step of acquiring a second image of the reference optical lens mounted in the spectacle frame, and in the processing step, the trimming parameters are defined as a function also of the second image is included.

TECHNICAL FIELD OF THE INVENTION

The present invention relates generally to the trimming of opticallenses in view of their mounting in a spectacle frame.

It relates more particularly to a method of determining the parametersfor trimming an optical lens to be trimmed in view of its mounting in aspectacle frame in which a reference optical lens is already mounted.

PRIOR ART

The technical part of an optician's job consists in mounting a pair ofoptical lenses on a spectacle frame selected by a wearer.

This mounting operation can be divided into three main operations:

-   -   the acquisition of the geometry of the interior outline of one        of the eyewires of the selected spectacle frame,    -   the centering of the lens considered which consists in        positioning and in orienting this outline appropriately on the        lens in such a way that once mounted in its frame, this lens is        correctly positioned with respect to the corresponding eye of        the wearer so that it can best accomplish the optical function        for which it has been designed, and then    -   the trimming of the lens which consists in machining its outline        to the desired shape.

The trimming operation consists in eliminating the superfluousperipheral part of the optical lens concerned, so as to restore theoutline thereof, which is usually initially circular, to an outline ofidentical shape to that of the outline of the eyewire of the spectacleframe or of approximate shape.

The quality of this trimming operation depends in large part on theprecision of the operation of acquiring the shape of the outline of theeyewire of the spectacle frame.

Specifically, when the spectacle frame is rimmed, this acquisitionoperation generally consists, for the optician, in probing the interioroutline of the eyewire of the spectacles frame selected so as toprecisely determine the coordinates of points characterizing the shapeof the outline of this eyewire.

In contrast, when the spectacle frame is half-rimmed or rimless (thelenses then being drilled), use is made of a blank (that is to saygenerally a reference lens supplied to the optician together with thespectacle frame) to determine the shape that the optical lens to betrimmed must have. Specifically, an optical acquisition of an image ofthis blank extracted from the spectacle frame makes it possible toascertain the shape of the outline of this blank and the position of anyholes therein.

In this case, the acquisition alone of a face-on image of the blank doesnot make it possible to acquire all the data required to trim theoptical lens.

By way of example, it is not possible to ascertain from this imageconstraints that are related to the thickness of the frame or to theposition of the nose pads of the frame and that must be considered whentrimming the ophthalmic lens (in order for it to be possible to mountthe latter without difficulty the first time round in the spectacleframe). Specifically, it will be understood that, if the nose pads ofthe spectacle frame are very close to the blanks and the lens to betrimmed is thick, it will be necessary to trim the lens in such a waythat it does not bear against the nose pad.

Moreover, unless a telecentric objective is used, the acquisition of aface-on image of a blank does not make it possible to obtain sufficientprecision to acquire the shape of the outline of this blank.Specifically, since the blank is curved, the distance between the imagesensor and the blank varies from one point to another on the blank,thereby generating scale variations from one point to another in theimage. However, the use of a telecentric objective turns out to beparticularly expensive.

Lastly, since the holes are not generally orientated on the axis of theimage sensor, it proves to be difficult to precisely characterize theirshape from the face-on image of the blank.

SUBJECT OF THE INVENTION

In order to remedy the aforementioned drawbacks of the prior art, thepresent invention proposes a novel optical procedure for acquiring theoutline of the eyewire of the spectacle frame, which may be usedregardless of the type of spectacle frame.

More particularly, there is proposed according to the invention a methodof determining parameters for trimming an optical lens to be trimmed inview of its mounting in a spectacle frame in which is mounted at leastone reference optical lens, comprising:

-   -   a step of removing the said reference optical lens,    -   a step of fixing the said removed reference optical lens on a        support of a machine for acquiring images,    -   a first step of acquiring, with an image sensor of the said        machine for acquiring images, at least one first image of the        said removed reference optical lens,    -   before or after the said first acquiring step, a second step of        acquiring with the image sensor a second image of the said        reference optical lens mounted in the spectacle frame, and    -   a step of processing each acquired image in order to deduce        therefrom trimming parameters for the said optical lens to be        trimmed.

The trimming parameters will possibly then be used to define a guidelinefor trimming of the optical lens to be trimmed.

The reference optical lens is a lens which is initially situated in thespectacle frame. In practice, it will generally be a demonstration lens,that the optician will wish to replace with a lens to be trimmed, thislens to be trimmed exhibiting for example optical powers suitable forthe visual acuity of the future spectacle wearer.

Thus, by virtue of the invention, even in the case of rimmed spectacleframes, the shape according to which it will be necessary to trim thislens is determined, on the basis of the image of the removed referencelens and of the image of the reference lens mounted in its frame.

The image of the removed reference lens will make it possible toascertain the shape of the outline of the reference lens.

By superposing the two images of the reference lens, removed and mountedin the frame, it will furthermore be possible to determine additionaltrimming parameters related to constraints on mounting of the referencelens into its spectacle frame.

In an embodiment of the invention, these two images will be able to betaken face-on by a non-telecentric objective. Furthermore a side-onimage of the reference lens will be taken. This image of the lens viewedfrom the side will then make it possible to determine the radius ofcurvature of the lens and therefore to determine the distance of anypoint separating the lens and the non-telecentric objective (which willmake it possible to scale the images of the lens viewed face-on). Thus,results similar to those obtained with a telecentric objective will beobtained at a substantially lower cost.

As a variant, the radius of curvature of the lens will possibly be readby the optician from a label accompanying the lens to be trimmed, andinput manually by the optician, for example on a keyboard.

Other advantageous and nonlimiting characteristics of the method inaccordance with the invention are as follows:

-   -   in the first and second acquiring steps, the said reference        optical lens is fixed to the said support in one and the same        position;    -   if the image sensor comprises a telecentric objective, in the        processing step, the said trimming parameters are calculated or        measured directly on each acquired image;    -   if the image sensor comprises a non-telecentric objective, in        the processing step, the curvature of one of the faces of the        said reference optical lens is acquired, each acquired image is        scaled as a function of the said curvature, and each trimming        parameter is calculated or measured on the scaled images;    -   in the said first and/or the said second acquiring step, the        image sensor acquires at least two images of the said reference        optical lens viewed from two different angles;    -   in the said first and/or the said second acquiring step, the        image sensor acquires a face-on image of the said reference        optical lens, in a position in which the reference optical lens        extends in a mean plane substantially orthogonal to an axis of        the optical path of the said image sensor, and a side-on image        of the said reference optical lens, in a position in which the        reference optical lens extends in a mean plane substantially        parallel to an axis of the optical path of the said image        sensor;    -   in the processing step, the curvature of one of the faces of the        said reference optical lens is measured on the said side-on        image;    -   the said face-on and side-on images are acquired successively, a        mirror being placed in the optical path of the image sensor        between the two image acquisitions;    -   in the defining step, the two-dimensional shape of the outline        of the reference optical lens is ascertained from the said        face-on image of the removed reference optical lens;    -   in the said first and/or the said second acquiring step, the        said at least two images of the said reference optical lens        viewed from two different angles are acquired successively,        while inclining, between the two image acquisitions, the said        reference optical lens with respect to the image sensor by a        known angle about an axis of rotation which passes through the        boxing centre of the reference optical lens; and    -   during the defining step, a search is conducted for each drill        hole of the reference optical lens, for each drill hole found,        the image is selected on which the outlines of the front and        rear openings of the said drill hole are the closest, and at        least one trimming parameter is assigned to the characterization        of the shape and of the position of the said drill hole on the        selected image.

DETAILED DESCRIPTION OF AN EXAMPLE EMBODIMENT

The description which follows with regard to the appended drawings givenby way of nonlimiting examples will clearly elucidate the essence of theinvention and the manner in which it may be carried out.

In the appended drawings:

FIG. 1 is a schematic view of a machine for acquiring images which issuitable for implementing the method according to the invention;

FIG. 2 is a sectional schematic view of a set of three locking capsbelonging to the machine for acquiring images of FIG. 1;

FIG. 3 is a schematic view in perspective of a locking gland suitablefor being stuck onto a lens;

FIG. 4 is a schematic view in perspective of a variant embodiment of thesupport of the machine for acquiring images of FIG. 1;

FIG. 5 is a schematic side-on view illustrating the acquisition of twoimages of a lens by means of the machine for acquiring images of FIG. 1;

FIG. 6 represents an image viewed face-on of an optical lens;

FIG. 7 represents in superposition two images of an optical lens viewedface-on, with and without spectacle frame of an optical lens; and

FIG. 8 represents ten photos of an optical lens viewed from fivedifferent angles, with and without spectacle frame.

There exist three principal categories of spectacle frames, namely;rimmed spectacle frames, semi-rimless spectacle frames (also calledbrowline frames) and rimless spectacle frames (also called drilledframes).

Rimmed spectacle frames conventionally comprise two eyewires which areeach intended to accommodate a trimmed optical lens. These two eyewiresare connected together by a bridge and each carries a temple. Eacheyewire exhibits a groove, or notch, which runs along its interior face.

When the spectacle frame is rimmed, the optical lens must be trimmed soas to exhibit along its edge a fitting rib, commonly called a bezel,whose cross-section generally exhibits a V shape. The bezel thus formedon the edge of the lens is then suitable for fitting into the notch ofthe rimmed frame.

Semi-rimless spectacle frames comprise two brows on the interior facesof which there extend ribs, as well as two holding threads which arejoined to the ends of the brows to form with the latter closed outlines.

When the spectacle frame is semi-rimless, the optical lens must betrimmed so as to exhibit hollowed out along its edge a peripheralgroove. The lens is then held in place in the spectacle frame by fittingthe upper part of its edge in the rib provided along the internal faceof the corresponding brow, and by engaging the holding thread in thegroove.

Finally, rimless spectacle frames comprise two temples and a bridge, butare devoid of eyewire or brow. These temples and this bridge are on theother hand furnished with studs suitable for being inserted into drillholes previously made in the optical lenses.

When the spectacle frame is rimless, the optical lens must be trimmed soas to exhibit an edge whose cross-section is right, and then be drilledin such a way that the bridge and the corresponding temple of thespectacle frame can be securely fixed thereto.

The optician's job is therefore to mount a pair of brand new lenses (onespeaks of “optical lenses to be trimmed”) on the spectacle frameselected by the wearer.

This may entail a brand new spectacle frame, or a used spectacle frame(case where the spectacle wearer wishes to change their optical lenseswhile keeping their spectacle frame).

In the case where it is brand new, the spectacle frame is generallysupplied to the optician with zero-power presentation lenses (or blanks)having a constant thickness.

In the case where it is used, the spectacle frame is generally suppliedto the optician with optical lenses to be replaced.

These optical lenses which are initially situated in the spectacle frame(brand new or used) will hereinafter in this account be referred to bythe expression “reference lenses”.

Before trimming brand new optical lenses so as to replace thesereference lenses, the optician must implement an operation of acquiringthe outline according to which each brand new optical lens will have tobe trimmed.

Here, this acquisition will be operated as a function of the shape ofthe spectacle frame and as a function of the shape of the referencelenses which are initially situated in the spectacle frame. In thismanner, the method used will apply equally well to rimmed spectacleframes, to semi-rimless spectacle frames and to rimless spectacleframes.

As shown by FIG. 1, a machine for acquiring images 1 making it possibleto acquire images of a reference lens mounted in the spectacle frame (a“fitted reference lens” will be spoken of below in the rest of thisdescription) or removed therefrom (a “bare reference lens” will bespoken of in the rest of this description) will be used for thispurpose.

This machine for acquiring images 1 will furthermore make it possible toacquire these images of the reference lens, viewed from differentangles.

This machine for acquiring images 1 comprises for this purpose:

-   -   a chassis 2,    -   a support 10 for a reference lens,    -   on one side of the support 10, a light source 20,    -   on one side or on the other side of the support 10, an image        sensor 30 suitable for capturing at least two images of the        reference lens viewed from two different angles.

To acquire two images of the reference lens from two different angles,provision could be made to mount the image sensor 30 in such a way thatit is mobile with respect to the chassis 2 and/or to mount the referencelens on the support 10 in such a way that it is mobile with respect tothe chassis 2.

In order to make it possible for the fitted reference lens to be lockedon the support 10, the chassis 2 will delimit around the support 10 afree space of sufficient size.

In the embodiment of the machine for acquiring images 1 represented inFIG. 1, the support 10 comprises a rod 11 whose free end is suitable forsupporting a locking cap, this locking cap being provided to receive thereference lens.

This rod 11 is here straight. It extends along a principal axis A3,which is in practice vertical. Here, this rod 11 is fixed to the support2 by its bottom end.

The light source 20 here comprises a direct lighting system 21, whichmakes it possible to illuminate the reference lens from the underside,that is to say opposite from the image sensor 30 with respect to thelens.

This direct lighting system 21 comprises a disc shaped translucentplate, through whose centre the rod 11 passes in such a way that thedisc extends right around the rod 11.

Various luminous sources, such as light-emitting diodes, make itpossible to illuminate this translucent plate from the underside, insuch a way that it forms an extended light source.

As a variant, provision could be made to supplement or to replace thisdirect lighting system 21 with a lateral lighting system (notrepresented) illuminating the reference lens through its edge. Thislateral lighting system will be able to be placed on the side of the rod11, level with the height of the top side or of the underside of thefree end of this rod 11, so as to illuminate the reference lens carriedby this rod 11.

The image sensor 30 is for its part formed by a digital camera.

This digital camera could comprise a telecentric objective. The use of atelecentric objective would make it possible to retain one and the samemagnification ratio of the lens whatever the picture taking distance.Unfortunately, such an objective is very complex to manufacture.

This is the reason why here the objective chosen is non-telecentric (itis therefore an entocentric objective).

Here, it is then proposed, as will be well described hereinafter in thisaccount, to process the images acquired in such a way as to take accountof the changes of scales due to the variations in picture takingdistances, in such a way as to obtain results that are as precise asthose that would be obtained by using a telecentric objective.

The image sensor 30 is mounted here on the chassis 2 in such a way thatits optical axis A4 remains parallel to the principal axis A3 of the rod11 of the support 10.

It is here more precisely mounted mobile on the chassis 2 in such a waythat it can acquire not only a face-on image of the reference lens, butalso a side-on image of this lens, without it being necessary for thispurpose to move the reference lens.

For this purpose, the image sensor 30 is mounted on the chassis 2 with amobility of translation along an axis A5 perpendicular to its opticalaxis A4. It is thus mobile between a base position in which its opticalaxis A4 coincides with the principal axis A3 of the rod 11, and aretracted position in which its optical axis A4 is strictly parallel tothe principal axis A3.

Here a mirror 70 is furthermore provided, which makes it possible, whenthe image sensor 30 is in the retracted position, to reflect an image onthe side of the reference lens towards this image sensor 30.

This mirror 70 extends to this effect in a plane whose normal at thecentre of the mirror cuts the principal axis A3 with an angle ofinclination of 45 degrees.

This mirror 70 is thus positioned in such a way that, when the imagesensor 30 is in the retracted position, the mirror 70 is situated in thefield of the image sensor.

As shown by FIG. 5, the mobility of the image sensor 30 and the use ofthe mirror 70 therefore make it possible to acquire two images 100A,100B of the reference lens 100, viewed from two different angles. Thesetwo images will, hereinafter in this account, be called the face-onimage 100A and the side-on image 100B.

As a variant, provision could be made for the image sensor to remainstationary, and for the mirror to be mobile so as to shift into thefield of the image sensor in order to return to the latter a side-onimage of the lens (via for example other mirrors).

In the present invention, when the reference lens is drilled, one wishesto acquire at least one other image of the reference lens, viewed fromanother angle.

Indeed, the face-on and side-on views alone of the lens do not make itpossible to precisely characterize the shapes and positions of the holesprovided in the reference lens.

It will be noted here that the drill holes will possibly bethrough-holes, for example making it possible to fix the spectacle frameto the lens (case of drilled frames), or blind holes (opening onto onlyone face of the lens or onto the edge of the lens). These blind holes,the cross sections of which will not necessarily be circular, may forexample have only an aesthetic function.

To precisely characterize the shapes and positions of these holes, thepresent invention proposes to acquire other images, on which the holesare substantially situated on the axis of the image sensor 30.

In the rest of this description, the case where the drilled holes arethrough-holes opening onto both faces of the lens will be considered.

In FIG. 3, a locking gland 90 has been represented. Such a locking glandcomprises a plate 91 clad with a double-sided self-adhesive tape to bestuck onto the lens. It also comprises an axisymmetric cylindrical pin92, which is provided so as to be easily grasped with a view tofacilitating the gripping of the lens.

In this FIG. 3, it is observed that the pin 92 exhibits a groove 93hollowed out in its end face, which extends across the diameter of thispin and which provides an indication of the orientation of the lensabout the axis of the pin 92.

As shown by FIG. 2, the machine for acquiring images 1 is then equippedwith a set of at least two different locking caps.

Three locking caps 40, 50, 60 are provided here.

Each locking cap 40, 50, 60 comprises:

-   -   a gripping part 41, 51, 61 for its fixing onto the rod 11        according to a first axis A1, and    -   an accommodating part 42, 52, 62 for its fixing to the locking        gland 90 according to a second axis A2, the angle of inclination        between the first axis A1 and the second axis A2 varying from        one locking cap 40, 50, 60 to the other.

Here, the gripping parts 41, 51, 61 of the three locking caps 40, 50, 60are identical. They are provided so as to be fixed to the rod 11 bynest-fitting. They then take the form of symmetric sleeves of revolutionabout the first axis A1. These sleeves exhibit interior diametersidentical (to within the mounting play) to the exterior diameter of therod 11, thereby affording them good stability on the free end of the rod11.

As far as the accommodating parts 42, 52, 62 of the three locking caps40, 50, 60 are concerned, they are provided so as to be fixed to the pin92 of the locking gland 90. They each comprise for this purpose a cavitymaking it possible to house the pin 92.

As is depicted dashed in FIG. 2, the cavity hollowed out in eachaccommodating part 42, 52, 62 is traversed by a rib which is provided soas to be housed in the groove 93 of the pin 92. In this manner, it isensured that the orientation of the lens about the axis A3 of the rod 11does not change when the lens is positioned successively on the threelocking caps 40, 50, 60.

Here, the upper faces of these accommodating parts 42, 52, 62 exhibitidentical shapes, but they are oriented differently with respect to thegripping parts 41, 51, 61.

The axis of symmetry of the accommodating part 42, 52, 62 of each wedge(here called the second axis A2) exhibits an inclination with respect tothe first axis A1 which differs from one wedge to the other.

In the example represented in FIG. 2, the angle of inclination betweenthe first axis A1 and the second axis A2 is equal to 0 degrees for thefirst locking cap 40, to 30 degrees for the second locking cap 50, andto 15 degrees for the third locking cap 60.

In this manner, by successively fixing the reference lens to the rod 11by means of these locking caps 40, 50, 60, it is possible to acquireimages of the reference lens with various angles of inclination.

On changing locking cap, the risk is then of losing the datum of thereference lens between the various image acquisitions.

To avoid this, as shown by FIG. 2, the locking caps 40, 50, 60 aremanufactured in such a way that the point of intersection between thefirst and second axes A1, A2 is always situated at the same positionwith respect to the gripping part 41, 51, 61 of the locking cap.

In this manner, by placing each time the boxing centre of the referencelens at the level of this point of intersection, one ensures that thedatum of the reference lens is properly retained (this datum thereafterbeing retained for the machining of the lens).

In this instance, this point of intersection will be situated at a givendistance from the upper face of the accommodating part 42, 52, 62, thisdistance corresponding to the thickness of the plate 91 of the lockinggland 90 and of the double-sided self-adhesive tape used.

As shown by FIG. 5, the boxing frame 110 of the reference lens 100 willbe defined here as being the rectangle which circumscribes the outline101 of the image 100A of the reference lens 100 viewed face-on, and twoof whose sides are parallel to the horizon line of the lens. The boxingcentre of the reference lens will be then defined as the point which issituated at the centre of the boxing frame 110, on the front face ofthis reference lens 100.

Here, the locking caps 40, 50, 60 will be manufactured either onrequest, by means of a 3D printer or of any other suitable technique(fast prototyping, etc.), or en masse by moulding of a plastic.

According to a variant of the invention represented in FIG. 4, provisioncould be made to use one and the same locking cap 40 to fix thereference lens, in which case the support 10 will have to be mountedmobile with respect to the chassis 2 so as to be able to acquireinclined images of the reference lens.

The support 10 will preferably be mounted mobile with respect to thechassis 2 with at least two mobilities of rotation about two distinctaxes, and two mobilities of translation along two distinct axes.

In this variant, the rod 11 is not fixed to the chassis 2 of the machinefor acquiring images 1, but it is mounted on the chassis 2 with twomobilities of rotation about two non-parallel axes A6, A7.

This rod 11 is thus mounted mobile in rotation about a first axis A6which is perpendicular to the principal axis A3 of the rod 11. Thisfirst axis A6 is in practice horizontal.

The rod 11 is furthermore mounted mobile in rotation about a second axisA7 which is perpendicular to the first axis A6. In practice this secondaxis A7 coincides with the principal axis A3.

To confer these two mobilities upon it, the rod 11 rises from a plate12, which is mounted mobile in rotation (about the principal axis A3) ona plinth 13, this plinth 13 being itself mounted mobile in rotation(about the first axis A6) on a stand 14 placed on the chassis 2.

Here, the stand 14 exhibits a U shape, with a plane lower part whichrests on the chassis 2, and two lateral uprights which rise above thechassis 2.

The plinth 13 is then linked to this stand 14 by two lateral arches inthe form of inverted V shapes, whose ends are fixed to the plinth 13 andwhose apexes carry pivoting studs mounted in two smooth bearings of thestand 14.

The mounting of the studs in the smooth bearings of the stand 14 istight so that, on the one hand, the optician can manually tilt theplinth 13 about the first axis A6, and that, on the other hand, oncetilted, the plinth 13 remains in an inclined position and does notreturn naturally to the initial position.

The plate 12 comprises for its part a circular seat which rests on theupper face of the plinth 13. Provided, hollowed out in the upper face ofthe plinth 13 and in the circular seat of the plate 12, are facingannular furrows which make it possible to accommodate an annulus forguiding the rotation of the plate 12 about the principal axis A3.

In this manner, by adjusting the angular position of the plate 12 aboutthe principal axis A3 and that of the plinth 13 about the first axis A6,it is possible to tilt the reference lens fixed to the locking accessory40 into an inclined position with respect to the optical axis A4 of theimage sensor 30, so as to acquire inclined images of the reference lens.

It is also possible to displace the stand 14 by sliding it on thechassis 2, so as to be able to place the axis of the rod 11 on theoptical axis A4 of the image sensor 30, or to distance it from thelatter.

As a variant, provision could be made to use electric motors toautomatically actuate the mobilities of the support 10 with respect tothe chassis 2.

Here again, to avoid any problem of change of datum during the pivotingof the plinth 13 about the first axis A6, the support 10 is designed insuch a way that the point of intersection of the first axis A6 and ofthe principal axis A3 is situated at a given distance from the upperface of the accommodating part 42 of the locking accessory 40, thisdistance corresponding to the thickness of the plate 91 of the lockinggland 90 and of the double-sided self-adhesive tape used.

It will be noted moreover in FIG. 4 that in this variant, the mirror 70is fixed to the end of one of the uprights of the stand 14.

Represented in photos 3, 5, 7 and 9 of FIG. 8 are four inclined imagesof the bare reference lens 100, which are acquired with the aid of themachine for acquiring images 1. In photo 1 of this FIG. 8, a face-onimage of the bare reference lens 100 has been represented.

Represented in the other photos are corresponding images of this fittedreference lens 100 (face-on, side-on, and inclined view).

To drive the various members of the machine for acquiring images 1,there is provided a computer (not represented) comprising a processor, arandom-access memory (RAM), a read-only memory (ROM), analogue-digitalconverters, and various input and output interfaces.

By virtue of its input interfaces, the computer is suitable forreceiving from various man/machine interfaces (touchscreen, button,etc.) input signals relating to the desire of the optician. The opticiancan thus control the turning on of the lighting source 20, theacquisition of an image by the image sensor 30, the processing of theacquired images, the switching on of the electric motors, etc.

In its random-access memory, the computer stores the various acquiredimages of the reference lens.

In its read-only memory, the computer stores software for processing theacquired images, which makes it possible to generate trimming parametersfor a brand new lens.

Finally, by virtue of its output interfaces, the computer is suitablefor transmitting these trimming parameters to at least one machine fortrimming optical lenses.

To devise a guideline for trimming a brand new lens, several steps arethus undertaken. The principal steps of this method are as follows:

a) a step of removing the fitted reference lens 100 (i.e. the lensmounted in the spectacle frame 150) from the support 10 of the machinefor acquiring images 1,

b) a step of acquiring, with the image sensor 30, at least one firstimage of the fitted reference lens 100,

c) a step of removing the reference lens 100 and of fixing this barereference lens 100 on the support 10 of the machine for acquiring images1,

d) a step of acquiring, with the image sensor 30, at least one secondimage of the bare reference lens 100,

e) a step of processing the acquired images so as to deduce therefromtrimming parameters for the said brand new lens, and

f) a step of devising the trimming guideline as a function of the saidtrimming parameters.

At this juncture, it will be specified that the trimming guideline isgenerally devised by the trimming machine itself, on the basis ofvarious trimming parameters. Indeed, the trimming guideline will bedevised as a function of the kinematics of the trimming machineconcerned, so that it cannot generally be devised upstream.

The implementation of steps a) to e) of the aforementioned method can beset forth in detail. Step f), well known to the person skilled in theart, and which does not it itself form part of the subject matter of thepresent invention, will on the other hand not be described in detailhere.

It will be noted here that steps a) and b) will possibly be implementedafter steps c) and d), in which case it will be necessary to replace thereference lens in the spectacle frame after having removed it. It willalso be noted that steps b) and d) will possibly comprise acquiring aplurality of images viewed from different angles.

Here, in a first step (corresponding to step c), the optician removesone of the two reference lenses 100 from the spectacle frame 150, so asto be able to acquire images of the bare reference lens 100, on whichimages the whole of the outline of this reference lens 100 appears.

Here, it will be considered that the optician has a machine foracquiring images 1 comprising a support 10 of the type of thatrepresented in FIG. 4. Of course, the implementation of the method wouldbe substantially the same with a support 10 of the type of thatrepresented in FIG. 1.

After having extracted the reference lens 100 from its frame, theoptician fixes the locking gland 90 onto the reference lens 100 by meansof a double-sided self-adhesive tape, while taking care that the axis ofthe pin 92 passes through the boxing centre of the reference lens 100.Markings provided on the lens and on the locking gland 90 to identifythe boxing centre and the axis of the pin 92 make it possible tofacilitate this operation.

The optician can as a variant employ a centering-locking device, the useof which is well known moreover and makes it possible to obtain moreprecise results.

According to another variant, the optician could use a pneumatic lockinggland, taking the form of a sucker to be attached to the lens and to befixed to the latter by means of a vacuum pump.

Here, the optician thereafter attaches the locking gland 90 furnishedwith the reference lens 100 to the locking accessory 40 fixed to the endof the rod 11.

He thereafter places the cradle 12 of the support 10 in a straightinitial position (in which the principal axis A3 of the rod 11 coincideswith the second axis A7).

Then, the machine for acquiring images 1 is ready to acquire images ofthe reference lens 100.

In step b), the optician commands the acquisition of images of thereference lens 100, via any means of entry with which the machine foracquiring images 1 is equipped (keyboard, touchscreen, etc.).

During this step, the image sensor 30 is commanded to acquire a face-onimage 100A of the reference lens 100 (see FIG. 5).

The computer thereafter commands the displacement of the image sensor 30from its base position to its retracted position, via for example apinion-rack system controlled by an electric motor. The computerthereafter commands the acquisition of a side-on image 100B of thereference lens 100.

The computer thereafter commands the return of the image sensor 30 tobase position.

When the reference lens 100 exhibits drill holes, the optician thenmanually inclines the cradle 12 of the support 10 in such a way that oneof the drill holes is positioned substantially vertically. He thereaftercommands the acquisition of a new inclined image of the lens. Heproceeds in the same manner for all the other drill holes and for allthe blind holes.

As a variant, when the inclination of the cradle is controlled by anelectric motor, the inclination guideline dispatched to the electricmotor can be computed automatically by the computer.

It can in particular be computed as a function of the shape of the drillhole in the face-on image (in this face-on image, the hole exhibits anoblong and non-circular shape). Indeed, it is possible to determine inthis face-on image the orientation of the drill hole, and to deducetherefrom an inclination guideline to be dispatched to the electricmotors.

Thus, at this juncture, if the reference lens 100 does not exhibit anydrill hole, the random-access memory of the computer stores at least twoimages of the reference lens 100 viewed face-on (that is to say viewedfrom the front face) and viewed from the back (that is to say viewedfrom the rear face). On the other hand, if the reference lens 100exhibits for example four drill holes, the random-access memory of thecomputer stores six images of the reference lens 100.

Once these images have been acquired, the optician remounts thespectacle frame 150 on the reference lens 100, whilst the latter isstill mounted on the rod 11.

As is apparent in FIG. 8, he can thus acquire other images of thereference lens 100 mounted in its spectacle frame 150.

In practice, the optician commands the acquisition of two other images:a face-on image and a side-on image of the fitted reference lens 100(i.e. mounted in its spectacle frame 150).

Finally, the optician commands the commencement of the processing of theimages acquired by the computer.

If the images have been acquired with the aid of a non-telecentricobjective, the first processing operation consists in redimensioning thestored images.

Indeed, in this case, the distance between the objective and thereference lens 100 varies from one point to another of the lens, thusgenerating a distortion of the acquired image that should be correctedin order to obtain reliable measurement results.

In the case where the objective used is telecentric, this firstoperation is irrelevant.

Here, this first operation then consists in correcting the coordinatesof each characteristic point of the acquired image.

The preliminary to this operation is to determine the curvature of thereference lens 100, this curvature making it possible thereafter todetermine the distance separating the image sensor 30 from the referencelens 100, and this will make it possible to rescale each image.

To determine this curvature, it will be possible to acquire the radiusof curvature of the convex front face of the reference lens 100 eitherby reading it from a database, or by measuring it with the aid of asuitable apparatus and inputting it manually on the keyboard, or bycomputing it on the in-profile lens image.

Indeed, as shown by FIG. 5, by detecting the shape of the outline of thereference lens viewed side-on, the computer can determine the radius ofcurvature of the convex front face of the reference lens 100 (which isconsidered to exhibit a spherical cap shape).

Thereafter, to properly understand how the computer operates theoperation of scaling the acquired images, attention may be turned to apoint P that can be charted in the face-on image 100A and in the side-onimage 100B of the bare reference lens 100 (see FIG. 5).

One then seeks to determine the three-dimensional coordinates X_(mm),Y_(mm), Z_(mm) of this point P, expressed in millimeters, whereas onlythe two-dimensional coordinates (X_(Z1), Y_(Z1)) and (X_(Z2), Z_(Z2)) ofthis point P are available and are read off in pixels on the two images100A, 100B.

It is possible to write the following system of six equations:X _(mm) =X _(Z1) *S _(Z1),with S_(Z1) the height of the point P with respect to the boxing centre(which is deduced from the curvature of the lens),Y _(mm) =Y _(Z1) *S _(Z1),S _(Z1) =a*Z _(mm) +S ₀,a and S₀ being two known constants (determined during the calibration ofthe machine for acquiring images 1),X _(mm) =X _(Z2) *S _(Z2),with S_(Z2) the horizontal gap between the point P and the boxing centre(which is deduced from the curvature of the lens),Z _(mm) =Z _(Z2) *S _(Z2),S _(Z2) =a*(Y _(mm)−(L1+L2))+S ₀,L1 and L2 being two known constants (determined during the calibrationof the machine for acquiring images 1).

In practice, only the result of solving this equation system is storedin the read-only memory of the computer. This result is as follows:Y _(mm)=[1/(1−Y _(Z1) *a ² *Z _(Z2))]*[Y _(Z1) *S ₀*(1+a*Z _(Z2))−Y_(Z1) *a ² *Z _(Z2)*(L1+L2)]Z _(mm) =Z _(Z2)*(a*(Y _(mm)−(L1+L2))+S ₀)X _(mm) =X _(Z1)*(a*Z _(mm) +S ₀).

By applying this result to all the characteristic points of the image,the computer can then redimension the acquired images so as to obtainundeformed results despite the use of a non-telecentric objective.

Once the images acquired have been redimensioned, the second operationconsists in processing the images of the bare reference lens 100.

The first of the processed images is the face-on view image 100A.

Such a face-on view image 100A, acquired by the image sensor 30 andredimensioned by the computer, has for example been represented in FIG.6.

In order to obtain trimming parameters to be transmitted to a trimmingmachine, the computer will examine the outline 101 of the face-on viewimage 100A of the reference lens 100, it will determine the zone orzones of the lens which will be covered by the spectacle frame, and itwill characterize the drill hole or holes provided in the reference lens100.

In the face-on view image 100A, the outline 101 of the reference lens100 exhibits convex zones and two concave zones which are localized.This outline 101 is then characterized by a plurality of points whichextend along its contour, and which are regularly distributed over thelatter. The two-dimensional coordinates of these points will form firsttrimming parameters to be transmitted to the trimming machine.

The computer will thereafter process in combination the face-on viewimages of the bare reference lens 100 and of the fitted reference lens100 (see views 1 and 2 in FIG. 8). It will possibly process incombination the side-on view images of the fitted reference lens 100 andof the bare reference lens 100.

It will thus be able to determine the zone situated inside the outline101 which corresponds to the zone of the reference lens 100 which iscovered by the spectacle frame 150. This zone 105 is represented in FIG.7.

For this purpose, by charting the position of the outline of thespectacle frame 150, the computer will overlay this outline onto theface-on view image 100A of the bare reference lens 100, and thuscharacterize this zone 105.

It will thus be able to determine the zone or zones of conflictssituated inside the zone 105 which correspond to the locations where thebrand new lens will run the risk of interfering with the spectacle frame150 and create collisions for example with the nose pads or the frontand/or rear edges of the frame. Indeed, in contradistinction to thereference lens 100 which generally exhibits a reduced thickness, thebrand new lens will be able to exhibit a significant thickness at theedge. This is the reason why just because the reference lens 100 doesnot interfere with the spectacle frame 150, the same will notnecessarily be true for the new lens.

By determining the three-dimensional shape of a part of the spectacleframe 150 with the aid of the face-on and side-on view images acquired,or by determining the positions of points of the frame liable tointerfere with the new lens, the computer will then be able to determinewhether there is a risk of such a conflict occurring, on account of theshape of the brand new lens.

If such a conflict is detected, the computer will be able to determinesecond trimming parameters, aimed at creating an inclined bezel in thezones of conflict with the nose pads and/or at making it possible tomachine a shoulder (or an indentation) in the edge of the brand new lensas specified in U.S. Pat. No. 7,643,899. Such machining will thus makeit possible to avoid any problem in mounting the brand new lens in thespectacle frame 150.

The computer will thereafter process the face-on view image 100A of thebare ophthalmic lens 100 so as to determine whether this lens exhibitsone or more blind or through-drill holes.

If a drill hole is detected, the computer will select, from among thevarious images acquired of the bare reference lens, that on which theoutlines of the front and rear openings of the drill hole considered arethe closest. This image will correspond to that for which the drill holewas oriented substantially in the axis of the image sensor 30. As avariant, this selection could be carried out visually by the optician.

It is then, on this image, that the computer 100 will compute the shapeand the position of this drill hole. The shape and the position of eachdrill hole will form third trimming parameters.

The trimming of the new lens will possibly then be carried out bylocking the as yet untrimmed new lens using the locking accessory 40, inorder to preserve the same datum.

The invention claimed is:
 1. A method of determining parameters for trimming an optical lens to be trimmed for mounting onto a spectacle frame, comprising: a fixing step of fixing a reference optical lens, associated with the spectacle frame, onto a support of a machine for acquiring images; a first acquiring step of acquiring, with an image sensor of said machine for acquiring images, at least one first image of said reference optical lens, where said reference optical lens is removed from the spectacle frame; a processing step of processing, with a computer, each first image acquired by the image sensor in order to generate therefrom trimming parameters for the said optical lens to be trimmed; a transmitting step of transmitting, from the computer, said trimming parameters to a trimming machine in order to trim the optical lens; and wherein said method further comprises, before or after said first acquiring step, a second acquiring step of acquiring, with the image sensor, a second image of said reference optical lens mounted on the spectacle frame, and wherein, in said processing step, at least some of the trimming parameters are defined, by the computer, as a function also of the second image.
 2. The method according to claim 1, wherein, in the first and second acquiring steps, said reference optical lens is fixed to the support in one and the same position.
 3. The method according to claim 1, wherein, if the image sensor comprises a telecentric objective, in the processing step the trimming parameters are calculated or measured directly on each acquired image.
 4. The method according to claim 1, wherein, if the image sensor comprises a non-telecentric objective, in the processing step, the curvature of one of the faces of said reference optical lens is acquired, each acquired image is scaled as a function of the acquired curvature, and each trimming parameter is calculated or measured on the scaled images.
 5. The method according to claim 1, wherein, in said first or said second acquiring step, the image sensor acquires at least two images of said reference optical lens viewed from two different angles.
 6. The method according to claim 5, wherein, in one of said first or said second acquiring step, the image sensor acquires: a face-on image of said reference optical lens in a position in which said reference optical lens extends in a mean plane substantially orthogonal to an axis of the optical path of the image sensor, and a side-on image of said reference optical lens, in a position in which said reference optical lens extends in a mean plane substantially parallel to an axis of the optical path of the image sensor.
 7. The method according to claim 6, wherein in which, if the image sensor comprises a non-telecentric objective, in the processing step, the curvature of one of the faces of said reference optical lens is acquired, each acquired image is scaled as a function of the curvature, and each trimming parameter is calculated or measured on the scaled images, and wherein, in the processing step, the curvature of one of the faces of said reference optical lens is measured on the side-on image.
 8. The method according to claim 6, wherein the face-on and side-on images are acquired successively, a mirror being placed in the optical path of the image sensor between the two image acquisitions.
 9. The method according to claim 6, wherein a two-dimensional shape of the outline of the reference optical lens is ascertained from the face on image of said reference optical lens removed from the spectacle frame.
 10. The method according to claim 5, wherein, in one of said first acquiring step or said second acquiring step, the at least two images of said reference optical lens viewed from two different angles are acquired successively, while inclining, between the two image acquisitions, said reference optical lens with respect to the image sensor by a known angle about an axis of rotation which passes through the boxing centre of said reference optical lens.
 11. The method according to claim 5, wherein, in defining the trimming parameters, a search is conducted for each drill hole of said reference optical lens, for each drill hole found, an image is selected on which outlines of the front and rear openings of the drill hole are closest, and at least one trimming parameter is assigned to a characterization of a shape and of a position of the drill hole on the selected image.
 12. A method of determining parameters for trimming an optical lens to be trimmed for mounting onto a spectacle frame, the method comprising: a fixing step of fixing a reference optical lens, associated with the spectacle frame, onto a support of a machine for acquiring images; a first acquiring step of acquiring, with an image sensor of said machine for acquiring images, at least one first image of said reference optical lens where said reference optical lens is removed from the spectacle frame; before or after said first acquiring step, a second acquiring step of acquiring, with the image sensor, a second image of said reference optical lens where said reference optical lens is mounted on the spectacle frame; and a processing step of processing, with a computer, the acquired second image and each acquired first image, and generating therefrom trimming parameters for transmission from the computer to a trimming device that trims the optical lens, one of said trimming parameters being correspondent to a shape of the outline of said reference optical lens.
 13. The method according to claim 12, wherein, in the first and second acquiring steps, said reference optical lens is fixed to the support in one and the same position.
 14. The method according to claim 12, wherein, if the image sensor comprises a telecentric objective, in the processing step the trimming parameters are calculated or measured directly on each acquired image.
 15. The method according to claim 12, wherein, if the image sensor comprises a non-telecentric objective, in the processing step, the curvature of one of the faces of said reference optical lens is acquired, each acquired image is scaled as a function of the acquired curvature, and each trimming parameter is calculated or measured on the scaled images.
 16. The method according to claim 12, wherein, in said first or said second acquiring step, the image sensor acquires at least two images of said reference optical lens viewed from two different angles.
 17. A method of determining parameters for trimming an optical lens to be trimmed for mounting onto a spectacle frame, the method comprising: a fixing step of fixing a reference optical lens, associated with the spectacle frame, onto a support of a machine for acquiring images; a first acquiring step of acquiring, with an image sensor of said machine for acquiring images, at least one first image of said reference optical lens where said reference optical lens is removed from the spectacle frame; before or after said first acquiring step, a second acquiring step of acquiring with the image sensor a second image of said reference optical lens where said reference optical lens is mounted on the spectacle frame; and a processing step of processing, with a computer, the acquired second image and each acquired first image, and generating therefrom trimming parameters for transmission from the computer to a trimming device that trims the optical lens, wherein one of said trimming parameters is correspondent to a shape of a outline of said reference optical lens and is generated by the computer from said acquired first image, and wherein another of said trimming parameters, corresponding to constraints on a mounting of said reference optical lens into the spectacle frame, is generated by the computer from said second and first acquired images.
 18. The method according to claim 17, wherein, in the first and second acquiring steps, said reference optical lens is fixed to the support in one and the same position.
 19. The method according to claim 17, wherein, if the image sensor comprises a telecentric objective, in the processing step the trimming parameters are calculated or measured directly on each acquired image.
 20. The method according to claim 17, wherein, if the image sensor comprises a non-telecentric objective, in the processing step, the curvature of one of the faces of said reference optical lens is acquired, each acquired image is scaled as a function of the acquired curvature, and each trimming parameter is calculated or measured on the scaled images.
 21. The method according to claim 17, wherein, in said first or said second acquiring step, the image sensor acquires at least two images of said reference optical lens viewed from two different angles. 